package com.demo.bean.service.impl.bottom;

import com.demo.bean.mapper.bottom.BottomMapper;
import com.demo.bean.service.bottom.BottomService;
import com.demo.common.entity.ColumnManagement;
import com.demo.common.entity.CompanyDetails;
import com.demo.common.entity.MediaCoverage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 底部小标
 * 作者：张兴然
 */
@Service
public class BottomServiceImpl implements BottomService {
    @Autowired
    private BottomMapper bottomMapper;


    @Override
    public CompanyDetails selectCompany() {
        return bottomMapper.selectCompany();
    }

    @Override
    public List<MediaCoverage> selectAllMediaTitle() {
        return bottomMapper.selectAllMediaTitle();
    }

    @Override
    public List<ColumnManagement> selectAllColumn() {
        return bottomMapper.selectAllColumn();
    }
}
